An uninterruptible power supply (UPS) is a device that keeps a computer running for at least a short time when the power goes out.